/**
 * 
 * 
 * Created on 25 apr. 2011 @ 05:55:03 by Laurens Andriessen
 */

package tests.laurens.combatserverbrowser;

/**
 * 
 * @author Laurens Andriessen
 * @version 1.0
 */
public class CombatServerBrowserNET {
	public CombatServerBrowserNET() {
		while (true) {
			try {
				Thread.sleep(1000);
			}
			catch (InterruptedException e) {}
			System.out.println("Socket!");
			updateServerList();
		}
	}

	public void updateServerList() {
		synchronized (CombatServerBrowser.serverlist) {
			CombatServerBrowser.serverlist.add(new CombatServerEntry());
		}
	}
}
